package com.itheima.reggie.common.dto;

import com.itheima.reggie.entity.DishFlavor;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @author: Liu
 * @date: 2022/03/01
 * @time: 11:06
 */
@Data
public class DishUpdateDto {

    private Long id;
    private Long categoryId;
    private String name;
    private BigDecimal price;
    private String image;
    private Integer status;
    private LocalDateTime updateTime;
    private String categoryName;
    private String description;
    private Integer copies;

    List<DishFlavor> flavors = new ArrayList<>();
}
